Skip to content

RFC: [Feature Request] :- Propose metadata argument for useEffect callback like componentDidUpdate#280

Open
madhan-g-p wants to merge 1 commit into
reactjs:mainfrom
madhan-g-p:madhan-g-p-useEffect-ChangeDelta
Open

RFC: [Feature Request] :- Propose metadata argument for useEffect callback like componentDidUpdate#280
madhan-g-p wants to merge 1 commit into
reactjs:mainfrom
madhan-g-p:madhan-g-p-useEffect-ChangeDelta

Conversation

@madhan-g-p
Copy link
Copy Markdown

This document proposes an extension to the useEffect callback to include a metadata argument that provides details about dependency changes, just like componentDidUpdate in the class components, enhancing the ability to track which dependencies triggered the effect.

This document proposes an extension to the `useEffect` callback to include a metadata argument that provides details about dependency changes, enhancing the ability to track which dependencies triggered the effect.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant